package com.company.workflow.service;

import com.company.workflow.model.vo.ProcessInstanceVO;
import com.company.workflow.model.vo.ProcessStatisticsVO;

import java.util.List;
import java.util.Map;

public interface ProcessMonitorService {
    
    List<ProcessInstanceVO> listInstances(String processDefinitionKey, String status);
    
    ProcessStatisticsVO getStatistics();
    
    Map<String, Object> getTrend(String timeRange);
    
    void suspendInstance(String processInstanceId);
    
    void activateInstance(String processInstanceId);
} 